{% extends "base.html" %}
{% from "macros.html" import render_form %}
{% block title %}
Login
{% endblock %}


{% block body %}
	<div class="form">
	<h2>DengLu</h2>
	{{ render_form(form,url_for('front.login')) }}
	<!--from method="POST" action="{{ url_for('front.login') }}">
	{{ form.csrf_token }}

	<div class="form-group">
		{{ form.email.label }} {{ form.email(class='form-control') }}
	</div>
	<div class="form-group">
		{{ form.password.label }} {{ form.password(class='form-control') }}

	</div>
	<div class="checkbox">
		<label>
			{{ form.remember_me }}
	{{ form.remember_me.label.text }}
		</label>
	</div>
	{{ form.submit(class="btn btn-primary") }}
	</form -->
	</div>
{% endblock %}
